﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ManageUsers
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ManageUsers</h2>

     <table width="100%" border="0" cellpadding="0" cellspacing="0" class="data-table">
        <tr>
         <th scope="col">Usuario </th>
         <th>Acción</th>        
        </tr>
        <% foreach (var item in Model)
           { %>
        <tr>
            <td>
                <%: item.UserName%>
            </td>
          <td>
          <a href="/Account/DeleteUser/<%=item.ProviderUserKey%>">Eliminar</a>
          </td>
            
        </tr>
        <% } %>
    </table>

</asp:Content>
